package com.jx.gocomtask.webservice.service;

import java.util.List;

public interface RedisService {
	 	public boolean set(String key, String value);  
	    public String get(String key);  
	    public boolean expire(String key,long expire);  
	    public <T> boolean setList(String key ,List<T> list);  
	    public <T> List<T> getList(String key,Class<T> clz);  
	    public long lpush(String key,Object obj);  
	    public long rpush(String key,Object obj);  
	    public String lpop(String key);  
	    public String hGet(String key,String hashKey);
	    public Boolean hSet(String key,String hashKey,String obj);
	    public Boolean exists(String key);
}
